package com.lovetemperature.service.impl;

import com.lovetemperature.dao.Dao;
import com.lovetemperature.model.SaleRec;
import com.lovetemperature.service.SaleRecService;

public class SaleRecServiceImpl implements SaleRecService{
	private Dao<SaleRec> saleRecDao;

	public Dao<SaleRec> getSaleRecDao() {
		return saleRecDao;
	}

	public void setSaleRecDao(Dao<SaleRec> saleRecDao) {
		this.saleRecDao = saleRecDao;
	}

	@Override
	public void addSaleRec(SaleRec saleRec) {
		saleRecDao.save(saleRec);
	}
	
}
